package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * VIEW对象 view_equipment_data
 * 
 * @author zbm
 * @date 2023-06-29
 */
@ApiModel("设备数据")
public class ViewEquipmentData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备名称 */
    @ApiModelProperty("设备名称")
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 设备类型 */
    @ApiModelProperty("设备类型")
    @Excel(name = "设备类型")
    private String equipmentType;

    /** 单位 */
    @ApiModelProperty("单位")
    @Excel(name = "单位")
    private String dataType;

    /** 数值 */
    @ApiModelProperty("数值")
    @Excel(name = "数值")
    private Long dataValue;
    @ApiModelProperty("开始日期")
    private Date startTime;
    @ApiModelProperty("结束日期")
    private Date endTime;

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setEquipmentName(String equipmentName)
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setEquipmentType(String equipmentType) 
    {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentType() 
    {
        return equipmentType;
    }
    public void setDataType(String dataType) 
    {
        this.dataType = dataType;
    }

    public String getDataType() 
    {
        return dataType;
    }
    public void setDataValue(Long dataValue) 
    {
        this.dataValue = dataValue;
    }

    public Long getDataValue() 
    {
        return dataValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("equipmentName", getEquipmentName())
            .append("equipmentType", getEquipmentType())
            .append("createTime", getCreateTime())
            .append("dataType", getDataType())
            .append("dataValue", getDataValue())
            .toString();
    }
}
